Ext.define('Hr.store.staff.StaffInfoStore',{
    extend:'Ext.data.Store',
    pageSize: 10,
    fields:['id','cd','name','duty','sex','birth',
            'hometown','education','major','school',
            'joinTime','idNumber','phone','urgenPerson',
            'urgenPhone','state','personPhoto','cert'],
    autoLoad:true,
    proxy: {
        type:'ajax',
        url:'../staffInfoAction/get.do',
        reader:{
            type:'json',
            root:'list',
            totalProperty:'totalcount',
            successProperty: 'success'
        }
    },
    data:[]
});